package com.simple.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;

/**
 * @ClassName FundStatisticsDTO
 * @Author SimpleTree
 **/
@Data
@NoArgsConstructor
public class FundStatisticsDTO {

    private String title;
    private String unit;
    private List<Integer> xaxis;
    private ValueBean yaxis;

    public FundStatisticsDTO(String title,String unit) {
        this.title = title;
        this.unit = unit;
    }

    @Data
    public static class ValueBean{
        private String fundName;
        private List<Double> yValues;
    }


}
